<template>
  <div class="tooltip" :class="{ isRight: attrs.isRight }">
    <Tooltip transfer max-width="800" :content="value" placement="right" slot>
      <Icon type="ios-help-circle-outline" />
    </Tooltip>
  </div>
</template>

<script>
import formMixin from 'vue-ele-form/lib/mixins/formMixin'
export default {
  name: 'toolTip',
  mixins: [formMixin],
  data() {
    return {
    }
  },
  props: {
    value: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="less" scoped>
.isRight {
  position: absolute;
  right: 0;
}
</style>